From: | Allan Odgaard |
Date: | 02 Aug 99 at 08:22:30 |
Subject: | Libraries (was: Re: (no subject)) |
From: Allan Odgaard <Duff@DIKU.DK>
On 02-Aug-99, Gregory Roberts II wrote:
> [...] I seem to remember one of the AmigaOS libraries having a
> pointer to another library base in it, though I could be mistaken about
> this)
Most of them does...
> This is really easy to do from assembly. Please don't ask me how to get
> your C compiler to actually *USE* the library pointer to call functions
> though. This is very compiler specific and I don't think I've tried it in
> C before.
There's no trick to it, atleast not with StormC. Just code as you normally
would - because you generally don't mess with library pointers in C, the
compiler is supposed to do that for you! :-)
Regards Allan